From: Florian Müllner Date: Wed, 23 Oct 2019 13:15:42 +0000 (+0200) Subject: st: Deprecate StBoxLayout child properties X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~478 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f0a51704733c1b85d51ae9f37c3595e6c60955b2;p=gnome-shell.git st: Deprecate StBoxLayout child properties We are no longer using them, and so shouldn't anyone else :-) https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/780 --- diff --git a/src/st/st-box-layout-child.c b/src/st/st-box-layout-child.c index e2c7332d2..e78a76c49 100644 --- a/src/st/st-box-layout-child.c +++ b/src/st/st-box-layout-child.c @@ -179,7 +179,7 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass) pspec = g_param_spec_boolean ("expand", "Expand", "Allocate the child extra space", FALSE, - ST_PARAM_READWRITE); + ST_PARAM_READWRITE | G_PARAM_DEPRECATED); g_object_class_install_property (object_class, PROP_EXPAND, pspec); pspec = g_param_spec_boolean ("x-fill", "x-fill", @@ -187,7 +187,7 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass) "when the container is allocating spare space " "on the horizontal axis", TRUE, - ST_PARAM_READWRITE); + ST_PARAM_READWRITE | G_PARAM_DEPRECATED); g_object_class_install_property (object_class, PROP_X_FILL, pspec); pspec = g_param_spec_boolean ("y-fill", "y-fill", @@ -195,7 +195,7 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass) "when the container is allocating spare space " "on the vertical axis", TRUE, - ST_PARAM_READWRITE); + ST_PARAM_READWRITE | G_PARAM_DEPRECATED); g_object_class_install_property (object_class, PROP_Y_FILL, pspec); pspec = g_param_spec_enum ("x-align", @@ -203,7 +203,7 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass) "X alignment of the widget within the cell", ST_TYPE_ALIGN, ST_ALIGN_MIDDLE, - ST_PARAM_READWRITE); + ST_PARAM_READWRITE | G_PARAM_DEPRECATED); g_object_class_install_property (object_class, PROP_X_ALIGN, pspec); pspec = g_param_spec_enum ("y-align", @@ -211,7 +211,7 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass) "Y alignment of the widget within the cell", ST_TYPE_ALIGN, ST_ALIGN_MIDDLE, - ST_PARAM_READWRITE); + ST_PARAM_READWRITE | G_PARAM_DEPRECATED); g_object_class_install_property (object_class, PROP_Y_ALIGN, pspec); }